<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <jsp:include page="${pageContext.request.contextPath}/WEB-INF/views/screen/admin/resource.jsp"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/public.css" media="all"/>
</head>

<body class="childrenBody">
<blockquote class="layui-elem-quote quoteBox">
    <form class="layui-form" id="searchForm">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">角色名</label>
                <div class="layui-input-inline">
                    <input type="text" name="roleName" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
                <button class="layui-btn" lay-submit lay-filter="search"><i class="layui-icon">&#xe615;</i>查询
                </button>
            </div>
        </div>
        </div>
    </form>
</blockquote>

<script type="text/html" id="switch">
    <input type="checkbox" name="sex" value="{{d.id}}" lay-skin="switch" lay-text="正常|禁用"
           lay-filter="status" {{ d.status== 1 ? 'checked' : '' }}>
</script>
<div class="layui-btn-group barTable">
    <shiro:hasPermission name="btn:角色管理:新增">
        <button class="layui-btn layui-btn-sm" data-type="barTableAdd"><i class="layui-icon">&#xe654;</i>新增
        </button>
    </shiro:hasPermission>
    <shiro:hasPermission name="btn:角色管理:编辑">
        <button class="layui-btn layui-btn-sm layui-btn-normal" data-type="barTableEdit"><i
                class="layui-icon">&#xe642;</i>编辑
        </button>
    </shiro:hasPermission>
</div>
<table id="dataGrid" lay-filter="dataGrid"></table>
<script src="${pageContext.request.contextPath}/js/ux/sysRole/sysRole.js"></script>
</body>
</html>

